<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/basic.css" rel="stylesheet" type="text/css">
<title>blog</title>
</head>
<c:if test="${pass!=null }">
	<c:redirect url="home.jsp"></c:redirect>
</c:if>

<body style="text-align: center; background-color: Palegreen">
	<a class="right" href="register.jsp"><button>用户注册</button></a>
	<h1 style="color: red; font: lighter;">welcome to myblog!</h1>
	<h3>请登录</h3>
	<br />
	<form action="Login" method="post">
		<table style="position:relative;left:40%">
			<tr>
				<td>用户名:</td>
				<td><input type="text" name="name" /></td>
			<tr>
				<td align="right">密码:</td>
				<td><input type="password" name="password" /><br /></td>
			</tr>
			<tr>
				<td></td><td><input type="submit" name="login" value="登录" />&emsp;&emsp;
						<a style="font: smaller;" href="recallPass.jsp">忘记密码</a>
					</td>
			</tr>
		</table>
	</form>
	<p>${state1}</p>
	<c:remove var="state1"></c:remove>
</body>
</html>